package com.lzh.service.impl;

import com.lzh.common.bean.ResultBean;
import com.lzh.mapper.CategoryMapper;
import com.lzh.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {

    @Autowired
    CategoryMapper categoryMapper;
    @Override
    public List getCategory() {
        List category = categoryMapper.getCategory();
        return category;
    }
}
